package com.jic.manager.mapper;

import com.jic.manager.entity.ProductCommentReply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品评论回复表
 * @author : 
 * @email : 
 * @since : 2020-02-10 05:50:20
 * @version : v1.0.0
 */
@Mapper
public interface  ProductCommentReplyMapper {

    long insert(ProductCommentReply productCommentReply);

    long delete(Long id);

    long update(ProductCommentReply productCommentReply);

    ProductCommentReply queryByPrimaryKey(Long id);

    List<ProductCommentReply> query(ProductCommentReply productCommentReply);

    List<ProductCommentReply> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("productCommentReply") ProductCommentReply productCommentReply);

    long queryPageCount(ProductCommentReply productCommentReply);
}